package com.neuedu.autosale.purchase.entity;

import java.math.BigDecimal;
import java.util.Date;

import com.neuedu.autosale.entity.Emp;
import com.neuedu.autosale.sys.entity.Provider;
import com.neuedu.autosale.sys.entity.Storage;

public class Stock {

	// 进货单编号
	private Integer stockId;
	// 汽车名称
	private String carName;
	// 供应商
	private Provider provider;
	// 进货仓库
	private Storage storage;
	// 进货数量
	private String stockNum;
	// 进货价格
	private BigDecimal stockPrice;
	// 进货日期
	private Date stockDate;
	// 处理人
	private Emp emp;
	// 备注
	private String remark;

	public Stock() {
		super();
	}

	public Stock(Integer stockId) {
		super();
		this.stockId = stockId;
	}

	public Stock(String carName, Provider provider, Storage storage) {
		super();
		this.carName = carName;
		this.provider = provider;
		this.storage = storage;
	}

	public Stock(Integer stockId, String carName, Provider provider, Storage storage, String stockNum,
			BigDecimal stockPrice, Date stockDate, Emp emp, String remark) {
		super();
		this.stockId = stockId;
		this.carName = carName;
		this.provider = provider;
		this.storage = storage;
		this.stockNum = stockNum;
		this.stockPrice = stockPrice;
		this.stockDate = stockDate;
		this.emp = emp;
		this.remark = remark;
	}

	public Integer getStockId() {
		return stockId;
	}

	public void setStockId(Integer stockId) {
		this.stockId = stockId;
	}

	public String getCarName() {
		return carName;
	}

	public void setCarName(String carName) {
		this.carName = carName;
	}

	public Provider getProvider() {
		return provider;
	}

	public void setProvider(Provider provider) {
		this.provider = provider;
	}

	public Storage getStorage() {
		return storage;
	}

	public void setStorage(Storage storage) {
		this.storage = storage;
	}

	public String getStockNum() {
		return stockNum;
	}

	public void setStockNum(String stockNum) {
		this.stockNum = stockNum;
	}

	public BigDecimal getStockPrice() {
		return stockPrice;
	}

	public void setStockPrice(BigDecimal stockPrice) {
		this.stockPrice = stockPrice;
	}

	public Date getStockDate() {
		return stockDate;
	}

	public void setStockDate(Date stockDate) {
		this.stockDate = stockDate;
	}

	public Emp getEmp() {
		return emp;
	}

	public void setEmp(Emp emp) {
		this.emp = emp;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

}
